<include file="Public:header" />

<div id="page-body">
    <div id="qan-breadcrumbs"><span><a href="{$_global.site_url}">{$Think.lang.home}</a></span>&gt;&nbsp;<span>{$Think.lang.mcp}</span></div>
    <include file="Modcp:menu" />
    <div id="mod-queue" class="mod-menu">
        <ul>
            <li class="<eq name="type" value="open">current</eq>"><a href="{:U('Modcp/report',array('type'=>'open'))}">{$Think.lang.mcp_reports_open}</a></li>
            <li class="<eq name="type" value="closed">current</eq>"><a href="{:U('Modcp/report',array('type'=>'closed'))}">{$Think.lang.mcp_reports_closed}</a></li>
        </ul>
    </div>
    <div id="mod-container">
        <notempty name="reports">
        <div class="container">
            <table class="tb" style="width:100%;">
                <tr>
                    <th>{$Think.lang.ip}</th>
                    <th>{$Think.lang.create_time}</th>
                    <th>{$Think.lang.expire_time}</th>
                </tr>
                <volist name="reports" id="vo">
                <tr>
                    <td><a href="javascript:ipToCountry('{$vo.ip}');" title="{$Think.lang.view_ip}">{$vo.ip}</a></td>
                    <td>{$vo.create_time|format_date}</td>
                    <td>{$vo.expire_time|format_date}</td>
                </tr>
                </volist>
            </table>
        </div>
        <div class="pagination">{$pagination}</div>
        </notempty>
    </div>
</div>

<include file="Public:footer" />
